const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  //关闭lint校验提示
  lintOnSave:false,
  devServer:{
    port:8080,
    host:'localhost',
    proxy:{
      'api/':{
        target:'http://localhost:8084',
        pathRewrite: { '^/api': '' },//接口路径中已包含/api
      }
    }
  }
})
